package com.google.code.mergeinformer.service;

import com.google.code.mergeinformer.model.Project;

import java.util.List;

/**
 * @author Dmitry Golubev
 */
public interface ProjectService extends ServiceBase<Project> {

    List<Project> getAllProjects();

    Project getByShortName(String shortName);

    Project refreshBranches(Project project);

    boolean isNameExists(String name);

    boolean isShortNameExists(String shortName);

    void schedule(Project project);

    void execute(Project project);
}
